package com.godme.rabbitmq.props;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(RabbitProperties.PREFIX)
public class RabbitProperties {

    public static final String PREFIX = "rabbit";


    private String orderQueue;
    private String orderExchange;
    private String orderRoutingKey;

    private String dlxQueue;
    private String dlxExchange;
    private String dlxRoutingKey;

    public String getOrderQueue() {
        return orderQueue;
    }

    public void setOrderQueue(String orderQueue) {
        this.orderQueue = orderQueue;
    }

    public String getOrderExchange() {
        return orderExchange;
    }

    public void setOrderExchange(String orderExchange) {
        this.orderExchange = orderExchange;
    }

    public String getOrderRoutingKey() {
        return orderRoutingKey;
    }

    public void setOrderRoutingKey(String orderRoutingKey) {
        this.orderRoutingKey = orderRoutingKey;
    }

    public String getDlxQueue() {
        return dlxQueue;
    }

    public void setDlxQueue(String dlxQueue) {
        this.dlxQueue = dlxQueue;
    }

    public String getDlxExchange() {
        return dlxExchange;
    }

    public void setDlxExchange(String dlxExchange) {
        this.dlxExchange = dlxExchange;
    }

    public String getDlxRoutingKey() {
        return dlxRoutingKey;
    }

    public void setDlxRoutingKey(String dlxRoutingKey) {
        this.dlxRoutingKey = dlxRoutingKey;
    }
}
